package com.wyy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @program: gytcb
 * @author: 吴磊
 * @create: 2021-06-01 23:13
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan("com.wyy.mapper")
//@EnableHystrix
@EnableCircuitBreaker
public class ArticleAppConfig {
    public static void main(String[] args) {
        SpringApplication.run(ArticleAppConfig.class, args);
    }
}
